package com.woniu.mall.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 1. @description:
 * 2. @author: Lingger
 * 3. @time: 2023/5/22
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "优惠券对象", description = "")
public class Coupon {

    @ApiModelProperty("优惠券名称")
    private String name;

    @ApiModelProperty("优惠券起用金额")
    private BigDecimal startingAmount;

    @ApiModelProperty("优惠券面额")
    private BigDecimal amount;

    @ApiModelProperty("优惠券数量")
    private Integer number;

    @ApiModelProperty("优惠券状态")
    private Boolean status;

    @ApiModelProperty("过期时间")
    private Date expirationTime;
}
